﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace CPPEI.Coolzon.UI.XProperty.Editors
{
    /// <summary>
    /// Interaction logic for XDefaultErrorEditor.xaml
    /// </summary>
    public partial class XDefaultErrorEditor : XPropertyValueEditor
    {
        public XDefaultErrorEditor(string typeString)
        {
            InitializeComponent();
            _ctlTextError.Text = string.Format("{0}未定义编辑器", typeString);
        }

        protected override void OnXInit(Part partInstance, XPropertyAttribute xProperty, PropertyInfo propertyInfo, object value)
        {
        }
        protected override void OnXInit(Xceed.Wpf.Toolkit.PropertyGrid.PropertyItem propertyItem)
        {

        }
        protected override DependencyProperty GetPropertyValue()
        {
            return null;
        }
    }
}
